﻿using FluentNHibernate.Mapping;

namespace NHibernate.Identity.Internal.Mapping
{
    internal class IdentityUserClaimMap : ClassMap<IdentityUserClaim>
    {
        public IdentityUserClaimMap()
        {
            Id(x => x.Id);

            Map(x => x.ClaimType);
            Map(x => x.ClaimValue);

            References(x => x.User).Column("User_Id");

            Table("aspnet_UserClaims");
        }
    }
}